package com.romdw.ssr.main.frgm;
import com.romdw.ssr.R;
import android.view.View;
import android.view.ViewGroup;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.romdw.ssr.base.frgm.BaseFragment;
import com.romdw.ssr.main.presenter.UserPresenter;
import com.woai.common.util.IntentUtils;
import com.woai.common.util.ToastUtil;
import com.woai.vichat.base.model.BaseModel;

/**
 * UserFrgm
 * Created on 2018-07-30 07:26:35.
 * @author WuGefei
 */
public class UserFrgm extends BaseFragment<UserFrgm, UserPresenter> {


    @Override
    public void onResume() {
        super.onResume();
        request();
    }

    @Override
    public int getLayoutId() {
        return R.layout.frgm_user;
    }
	
	    @Override
    protected void init(View rootView) {
        ButterKnife.bind(this, rootView);
    }

        @Override
    protected UserPresenter createPresenter() {
        return new UserPresenter();
    }

    private void request() {
        presenter.request(getActivity());
    }

    public void bindData(BaseModel model) {

    }
}